@include('PC.Layout.header')
<br>
<br>
<br>
<br>
<div class="page page-pay">
    <input type="hidden" id="danjia" value="{{ $data['info']['price_discount'] }} ">
    <input type="hidden" id="product" value="{{ $data['info']['id'] }}">
    <div class="wrapper">
        <div class="head">
            <div class="blade">{{ $data['info']['type_name'] }}</div>
        </div>
        <div class="content">
            <div class="form-group g1">
                <label for="">已选套餐：</label>
                <div class="form-item">
                    #{{ $data['info']['name'] }}#
                </div>
            </div>
            {{--<div class="form-group g2">--}}
                {{--<label for="">充值账户：</label>--}}
                {{--<div class="form-item">--}}
                    {{--<input id="account" type="text" placeholder="请输入充值账户">--}}
                    {{--<span class="clear-btn"></span>--}}
                    {{--</div>--}}
                {{--</div>--}}
            <div class="form-group g3">
                <label for="">购买月数：</label>
                <div class="form-item">
                    <span class="add">
                        <img src="/static/img/img-23.png" />
                    </span>
                    <span id="month-size" class="num">1</span>
                    <span class="remove">
                        <img src="/static/img/img-25.png" />
                    </span>
                </div>
            </div>
            <input type="hidden" id="token" value="{{csrf_token()}}">
            <div class="form-group g4">
                <label for="">价格：</label>
                <div class="form-item">
                    <span class="money">￥{{$data['info']['price_discount'] }}</span>
                    <img class="use-offer" src="/static/img/img-26-1.jpg" />
                    <span>使用优惠券</span>
                    <p class="">
                        <input type="text" id="offer-code" placeholder="输入优惠券码">
                        <button class="check-btn">使用</button>
                    </p>

                </div>
            </div>
            <div class="form-group g5">
                <label for="">选择支付方式：</label>
                <div class="form-item">
                    <button  class="wxpay" data-id="wxpay">微信支付</button>
                    <button class="alipay active" data-id="alipay">支付宝</button>
                </div>
            </div>

            <div class="pay-action">
                <button class="pay-now">立即支付</button>
                <a href="/buy">更换套餐</a>
            </div>
            <div class="wx-chat">
                <div class="weixin_inner fadeInDown">
                    <h1>打开微信“扫一扫”支付</h1>
                    <img class="wxcode" src="" alt="">
                    <span></span>
                </div>
            </div>
        </div>
    </div>
</div>

@include('PC.Layout.footer')

